package controller

import "github.com/gin-gonic/gin"

func Init() error {

	engine := gin.Default()
	dictGroup := engine.Group("/dict")
	dictController := NewDictController(nil)
	dictGroup.GET("/add", dictController.Add)

	return engine.Run()

}
